from django.urls import path, re_path
from .views import *

urlpatterns = [
    re_path(r'^$', index),
    path('list/<t>/', goods_list),
    path('detail/<t>/', detail),
    path('add_cart/', add_cart),
    path('login/', login),
    path('register/', register),
    path('place_order/', place_order),
    path('myorders/', my_orders),
    path('usercenter/', user_center),
    path('edituser/', edit_user),
    path('cart/', cart),
    path('cart_del/', cart_del),
    path('pay/', pay),
    path('car_order/', car_order),
    path('delete_order/<t>/', delete_order),
    path('re_pay/<t>/', re_pay),
    path('addr_manage/<t>/', addr_manage),
    path('check_order/', check_order),
    re_path('addr_edit/(?P<t>\w*)', addr_edit),
    path('seek/', seek)
]
